package com.example.demo.service;

import com.example.demo.bean.SysPermission;
import com.example.demo.bean.SysRole;
import com.example.demo.bean.UserInfo;

import java.util.List;

/**
 * 时间: 2018/5/31.
 *
 * @author zwf
 */
public interface UserInfoService {
    /**
     * 111
     * @param username
     * @return
     */
    UserInfo findByUsername(String username);

    List<SysRole> getRoleList(String username);

    public List<SysPermission> getPermission(String Role);

}
